home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / O Boy / Source / AppAEObj_pd.h < prev    next >
C/C++ Source or Header  |  1996-06-21  |  1KB  |  73 lines

  1. #pragma once on
  2. /*
  3.     AppAEObj_pd.h
  4.     © Bob Boylan 1996
  5.  
  6.     Revision History
  7.     MacHack 1996        initial creation
  8. */
  9. #include "BaseTypes.h"
  10. #include "AEObj_pd.h"
  11. #include "Clone_ut.h"
  12.  
  13. #include <vector.h>
  14.  
  15.  
  16.  
  17.  
  18. class AppAEObj_pd : public AEObj_pd
  19. {
  20. public:
  21.     // ctor
  22.                 AppAEObj_pd( AEObj_pd * inParent, DescType inKind, Int_32 inIndex );
  23.                 AppAEObj_pd( AEObj_pd * inChild );
  24.     // dtor
  25.         virtual    ~AppAEObj_pd();
  26.     
  27.     //    Update - will grab the latest data from the App
  28.         virtual    
  29.         void    Update( ProgressProc_hi &inProgressProc, Int_32 inMaxSubModels );
  30.     
  31.     // getters    
  32.         virtual
  33.         string            GetKindName() { return string("Application") ; }
  34.     
  35.         virtual
  36.         Clone_ut< AEObj_pd >    GetParent();
  37.  
  38.         virtual
  39.         string            GetName();
  40.  
  41.     // questions
  42.         virtual
  43.         Boolean        IsScriptable();
  44.  
  45.         virtual
  46.         Boolean        IsValidAETE();
  47.  
  48.     
  49. protected:
  50.     
  51.     // access to finder data
  52.         virtual
  53.         PropertyValue_pd    GetProcessPropertyValue( DescType inKind );
  54.  
  55.         virtual
  56.         void *        GetFinderAppAddr();
  57.         virtual
  58.         OSType        GetFinderAppAddrType();
  59.         virtual
  60.         Int_32        GetSizeofFinderAppAddr();
  61.     
  62.     // finder data        
  63.         OSType        _FinderAppAddr;
  64.         OSType        _FinderAppAddrType;
  65.         Int_32        _SizeofFinderAppAddr;
  66.     
  67.     // class data
  68.         Boolean        _HaveAppAddr;    
  69.     
  70. private:
  71.  
  72. };
  73.